<template>
	<view>
		<view v-if="type==2" v-for="(item,index) in 10" class="box" style="width: 100%;height: 200px;overflow: hidden;">
			<image src="https://yunkeososyunchuc.bc8t.cn/lianaikongjian/static/rijibg.jpg" style="width: 100%;" mode="widthFix"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:''
			}
		},
		onLoad(e) {
			this.type=e.type
			switch(e.type){
				case '0':
				return uni.setNavigationBarTitle({
					title:'帮助中心'
				})
				case '1':
				return uni.setNavigationBarTitle({
					title:'成长记录'
				})
				case '2':
				return uni.setNavigationBarTitle({
					title:'鱼塘背景'
				})
				case '4':
				return uni.setNavigationBarTitle({
					title:'祝福记录'
				})
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
